#pragma once
#include <iostream>
#include <string>
using namespace std;

#include <omp.h>

#include <fstream>
#include <vector>

#define STRLEN	64

#define VERSION	"1.0A-BETA"

struct Feeds{
	char url[STRLEN];
	char name[STRLEN];
};

struct Project{
	char dir[STRLEN];
	char name[STRLEN];
	char feeds[STRLEN];
	char url[STRLEN];
};






bool Import(string filename);

struct _KERNEL_SPACE {
	string load_file = "Project.NFF";
	string operaton_project;
	bool spec_operat = false;
	bool mkdir = true;
	bool clone = true;
	bool re_clone = false;
	string branch;
	bool allow_apd = true;
};





_KERNEL_SPACE &KERNEL_SPACE();
vector<Project> &project();
vector<Feeds> &feeds();

bool debug_stat();

#define DEBUG_STAT	debug_stat()
#define DEBUG_LINE	if (DEBUG_STAT)	
#define MAX_BUFF_SIZE	4096

int cmd(string command);